package com.hspedu.seckill.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hspedu.seckill.entity.Goods;
import com.hspedu.seckill.model.vo.GoodsVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper extends BaseMapper<Goods> {
    //获取商品列表
    List<GoodsVo> findGoodsVo();

    //获取秒杀商品详情
    GoodsVo findGoodsVoByGoodsId(@Param("goodsId") Long goodsId);
}
